package User;

import Book.BookList;
import Opertion.IOPertion;

public abstract class User {

    private String name;

    public IOPertion[] ioPertions;

    public User(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    abstract int meun();

    public void doOpertion(int choice, BookList bookList) {
        ioPertions[choice].operte(bookList);
    }
}
